#include <stdio.h>
#include <math.h>
int main()
{
    for (int i = 1; i <= 9; i++)
        for (int j = 0; j <= 9; j++)
        {
            int x = 1100 * i + 11 * j;
            int m = floor(sqrt(x) + 0.5); // floor（x+0.5）可以四舍五入
            if (m * m == x)
                printf("%d\n", x);
        }
    return 0;
}